# -*- mode: snippet -*-
# name: arr.forEach((item) => {...})
# key: fore=>
# uuid: fore=>
# --
`(unless (eq (char-before) ?.) ".")`forEach(${1:item} => `(if (> (doom-snippets-count-lines %) 1) (concat "{ " (doom-snippets-format "%n%s%n") " }") %)`$0)`(if (eolp) ";")`